#ifndef __GENERATOR_H__
#define __GENERATOR_H__

#include <assert.h>
#include <stdlib.h>
#include <stdio.h>
#include "tree_dstruct.h"
#include "code_gen.h"
#include "register.h"

#define LEFT_CHILD(p)		((p)->burm_child[0])
#define RIGHT_CHILD(p)		((p)->burm_child[1])
#define STATE_LABEL(p)		((p)->state)
#define OP_LABEL(p)		((p)->op_type)
#define PANIC			printf

#endif
